<template>
  <div>
    <button
      type="button"
      border="~ dark-900"
      w="full"
      p="y-3"
      rounded="md"
      bg="dark-900"
      text="light-500"
      @click="goAnswer"
    >
      开始答题
    </button>
  </div>
</template>

<script lang="ts">
export default {
  name: 'StartPage',
};
</script>

<script setup lang="ts">
const router = useRouter();

const goAnswer = () => {
  router.push('/answer');
};
</script>

<style scoped></style>
